package com.dgz.springboot2302.entity;

import java.io.Serializable;

/**
 * @Author duguozheng
 * @Date 2023/03/17  19:17
 * @Description 文章类
 */
public class Article implements Serializable {
    private String title;
    private String author;
    private String content;

    public Article() {}

    public Article(String title, String author, String content) {
        this.title = title;
        this.author = author;
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
